package com.ytktt.study.week8.task6.hmily.tcc.stock.mapper;

import com.ytktt.study.week8.task6.hmily.tcc.stock.entity.ItemStockEntity;

public interface ItemStockMapper {

    int updateDecrease(ItemStockEntity entity);

    int updateTestDecrease(ItemStockEntity entity);

    int updateConfirm(ItemStockEntity entity);

    int updateCancel(ItemStockEntity entity);

    ItemStockEntity selectByItemId(Integer itemId);
}